package com.qingmeng.portal.model.vo;

import com.qingmeng.model.Comment;
import com.qingmeng.model.Photos;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

public class BlogContentVo {
    @ApiModelProperty(value = "博客id")
    private Long blogId;
    @ApiModelProperty(value = "博客作者用户id")
    private Long blogPublisherId;
    @ApiModelProperty(value = "博客作者名称")
    private String blogPublisherName;
    @ApiModelProperty(value = "博客标题")
    private String blogTitle;
    @ApiModelProperty(value = "博客摘要")
    private String blogInfo;
    @ApiModelProperty(value = "文章内容")
    private String blogContext;
    @ApiModelProperty(value = "发布时间")
    private Date publishTime;
    @ApiModelProperty(value = "博客相关图片")
    private List<Photos> photosList;
    @ApiModelProperty(value = "博客评论")
    private List<Comment> commentList;

    public String getBlogContext() {
        return blogContext;
    }

    public void setBlogContext(String blogContext) {
        this.blogContext = blogContext;
    }

    public String getBlogInfo() {
        return blogInfo;
    }

    public void setBlogInfo(String blogInfo) {
        this.blogInfo = blogInfo;
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public Long getBlogPublisherId() {
        return blogPublisherId;
    }

    public void setBlogPublisherId(Long blogPublisherId) {
        this.blogPublisherId = blogPublisherId;
    }

    public String getBlogPublisherName() {
        return blogPublisherName;
    }

    public void setBlogPublisherName(String blogPublisherName) {
        this.blogPublisherName = blogPublisherName;
    }

    public List<Comment> getCommentList() {
        return commentList;
    }

    public void setCommentList(List<Comment> commentList) {
        this.commentList = commentList;
    }

    public List<Photos> getPhotosList() {
        return photosList;
    }

    public void setPhotosList(List<Photos> photosList) {
        this.photosList = photosList;
    }

    public Long getBlogId() {
        return blogId;
    }

    public void setBlogId(Long blogId) {
        this.blogId = blogId;
    }

    public String getBlogTitle() {
        return blogTitle;
    }

    public void setBlogTitle(String blogTitle) {
        this.blogTitle = blogTitle;
    }

    @Override
    public String toString() {
        return "BlogContentVo{" +
                "blogId=" + blogId +
                ", blogPublisherId=" + blogPublisherId +
                ", blogPublisherName='" + blogPublisherName + '\'' +
                ", blogTitle='" + blogTitle + '\'' +
                ", blogInfo='" + blogInfo + '\'' +
                ", blogContext='" + blogContext + '\'' +
                ", publishTime=" + publishTime +
                ", photosList=" + photosList +
                ", commentList=" + commentList +
                '}';
    }
}
